<?php


require_once dirname(__FILE__)."/../model/user.php";
require_once dirname(__FILE__)."/../model/api.php";



if(!isUser()){
    $url =$this->createMobileUrl('login');
    header("location: $url");
    setJumpUrl();
    die();
}
$user= getUser();

$request = postCurl(getServer()."/getInformationByPartyid",array(
    "partyid"=>$user["partyid"]
));

//var_dump($request);

$data1 = $request['data'];

//var_dump($data1);

$request2 = postCurl(getServer()."/getCommentByPartyid",array(
    "partyid"=>$user["partyid"]
));
$data2= $request2['data'];

//var_dump($data2);
//var_dump($request2);


include $this->template('noticeReview');